package com.sntra.beibi.service;

import java.util.List;

import com.sntra.beibi.domain.Dot;
import com.sntra.beibi.domain.LearnPage;
import com.sntra.beibi.domain.Pen;

public interface DotService {


    List<Dot> selectDots(String penMac,  int bookID, int pageID, int status);
    
    List<Dot> selectDotsByUser(int ownerID, int bookID, int pageID, int status);

    int updateStatusBatch(List<Integer> dotIds);
    
    String draw(int ownerID, int bookID, int pageID, String penMac);
    
    int count(int sectionID, int ownerID, int bookID, int pageID);
    
    int insertBatch(List<Dot>  dots);
    
    Pen getPen(String penMac);
    
    int savePen(Pen pen);
	
    int updatePen(Pen pen);
}
